<html>
<head>
<title>Docs For Class WSL_FormValidator_Rule_Interface</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">WSL_FormValidator</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_WSL_FormValidator.html" class="menu">class tree: WSL_FormValidator</a> ]
		  [ <a href="../elementindex_WSL_FormValidator.html" class="menu">index: WSL_FormValidator</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_WSL_FormValidator.html">WSL_FormValidator</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../WSL_FormValidator/_Rules---Email.php.html">		Email.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---Equal.php.html">		Equal.php
		</a><br>
			<a href="../WSL_FormValidator/_FormValidator.php.html">		FormValidator.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---GreaterOrEqualThan.php.html">		GreaterOrEqualThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---GreaterThan.php.html">		GreaterThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Interface.php.html">		Interface.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---LessOrEqualThan.php.html">		LessOrEqualThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---LessThan.php.html">		LessThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---LongerOrEqualThan.php.html">		LongerOrEqualThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---LongerThan.php.html">		LongerThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---NoEmpty.php.html">		NoEmpty.php
		</a><br>
			<a href="../WSL_FormValidator/_Rule.php.html">		Rule.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---ShorterOrEqualThan.php.html">		ShorterOrEqualThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---ShorterThan.php.html">		ShorterThan.php
		</a><br>
			<a href="../WSL_FormValidator/_Rules---Url.php.html">		Url.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
		    		<a href="../WSL_FormValidator/WSL_FormValidator_Rule_Interface.html">WSL_FormValidator_Rule_Interface</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../WSL_FormValidator/WSL_FormValidator.html">WSL_FormValidator</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_Email.html">WSL_FormValidator_Email</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_Equal.html">WSL_FormValidator_Equal</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_GreaterOrEqualThan.html">WSL_FormValidator_GreaterOrEqualThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_GreaterThan.html">WSL_FormValidator_GreaterThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_LessOrEqualThan.html">WSL_FormValidator_LessOrEqualThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_LessThan.html">WSL_FormValidator_LessThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_LongerOrEqualThan.html">WSL_FormValidator_LongerOrEqualThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_LongerThan.html">WSL_FormValidator_LongerThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_NoEmpty.html">WSL_FormValidator_NoEmpty</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_Rule.html">WSL_FormValidator_Rule</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_ShorterOrEqualThan.html">WSL_FormValidator_ShorterOrEqualThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_ShorterThan.html">WSL_FormValidator_ShorterThan</a><br />
	    		<a href="../WSL_FormValidator/WSL_FormValidator_URL.html">WSL_FormValidator_URL</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: WSL_FormValidator_Rule_Interface</h1>
Source Location: /Interface.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Interface Overview</a></h3>
<pre></pre><br />
<div class="description">WSL_FormValidator_Rule_Interface</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>&quot;Alfonso Jimenez&quot; &lt;<a href="mailto:yo@alfonsojimenez.com">yo@alfonsojimenez.com</a>&gt;</li>
                        </ul>




          
          

<h4>Copyright:</h4>
<ul>
  <li>Copyright 2009 Weblogs SL</li>
</ul>
        
</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../WSL_FormValidator/WSL_FormValidator_Rule_Interface.html#method__construct">__construct</a></li>
    <li><a href="../WSL_FormValidator/WSL_FormValidator_Rule_Interface.html#methodcheck">check</a></li>
    <li><a href="../WSL_FormValidator/WSL_FormValidator_Rule_Interface.html#methodsetDefaultErrorMsg">setDefaultErrorMsg</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>






</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 15]<br />
WSL_FormValidator_Rule_Interface<br /><br /><p>PHP version 5</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>&quot;Alfonso Jimenez&quot; &lt;<a href="mailto:yo@alfonsojimenez.com">yo@alfonsojimenez.com</a>&gt;</td>
  </tr>
  <tr>
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright 2009 Weblogs SL</td>
  </tr>
  <tr>
    <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.weblogssl.com">http://www.weblogssl.com</a></td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://code.google.com/p/wsl-components/wiki/License">BSD</a></td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />


<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line 22]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>WSL_FormValidator_Rule_Interface __construct(
string
$errorMsg)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Public Constructor<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$errorMsg</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcheck"></a>
	<h3>method check <span class="smalllinenumber">[line 29]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void check(
mixed
$data)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Checks if the data fulfills the requirements<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$data</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetDefaultErrorMsg"></a>
	<h3>method setDefaultErrorMsg <span class="smalllinenumber">[line 36]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void setDefaultErrorMsg(
string
$errorMsg)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the default error message<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$errorMsg</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Wed, 30 Sep 2009 13:22:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.2</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>